'\" t
.\"     Title: bugle-stats_calltimes
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: April 2009
.\"    Manual: Bugle user manual
.\"    Source: BUGLE 0.0.20150628
.\"  Language: English
.\"
.TH "BUGLE\-STATS_CALLTIM" "7" "April 2009" "BUGLE 0.0.20150628" "Bugle user manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
bugle-stats_calltime \- gather call timing
.SH "SYNOPSIS"
.sp
.nf
filterset stats_calltimes
.fi
.SH "DESCRIPTION"
.PP
This filter\-set measures how long is spent in each OpenGL call\&. The signal associated with
\fIglSomeFunction\fR
is called
\fIcalltimes:\fR\fI\fIglSomeFunction\fR\fR\&.
.PP
In addition, there is a signal called
\fIcalltimes:total\fR, which measures the total time spent in all GL calls\&.
.PP
The expected use is with the
average time per call
statistic defined in the sample statistics file, which shows the average time spent in each call\&.
.PP
Note that these times include some overhead from
bugle
itself, so it will be most useful for calls that involve significant work (such as shader compilation/linking) or which may stall the CPU (such as
\fBglReadPixels\fR)\&.
.SH "AUTHOR"
.PP
bugle
is written and maintained by
Bruce Merry\&.
.SH "SEE ALSO"
.PP
\fBbugle\fR(3),
\fBbugle-stats_calls\fR(7),
\fBbugle-statistics\fR(5)
